package scfw.utils;

/**
 * Created by 7sh on 2017/3/10.
 */
public class Constants {

	/** 公钥 */
	public static final String PUBLICKEY = "abcdefg";

	/** 非法请求 **/
	public static final Integer ERROR_CODE_ILLEGAL = 4001;

	/** 用户名或密码错误 */
	public static final Integer ERROR_CODE_USERNAME_OR_PASSWORD_NOT_MATCH = 4002;

	/** 账号被禁用 */
	public static final Integer ERROR_CODE_USERNAME_DISABLED = 4003;

	/** 账号不存在 */
	public static final Integer ERROR_CODE_USERNAME_NOT_EXIST = 4004;

	/** 验证码错误 */
	public static final Integer ERROR_CODE_CAPTCHA = 4005;

	/** 必须输入验证码 */
	public static final Integer ERROR_CODE_REQ_CAPTCHA = 4015;

	/** 系统异常 */
	public static final Integer ERROR_CODE_EXCEPTION = 4010;

	/** 账号存在相同 */
	public static final Integer ERROR_CODE_USERNAME_MULTIS = 4006;

	/** 用户未设置密码 */
	public static final Integer ERROR_CODE_PASSWORD_IS_NULL = 4007;

	/** session有效期24小时 */
	public static final Integer SESSION_VALIDITY = 24 * 60 * 60;
	public static final  String COMM = ",";
}
